import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import BaiduMap from 'vue-baidu-map'

import './permission' // permission control

Vue.use(ElementUI)
Vue.use(BaiduMap, {
  ak: 'HtLWUXsVUHNzFy44yvaQwwZZTz9e2P0e'
})
Vue.config.productionTip = false
//这里是main.js里面


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
